Last active
February 19, 2017 14:03
-
-
Save xto3na/c40df46df8a4c74dc1640da4b0d2e6af to your computer and use it in GitHub Desktop.
Regexp for price from text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
([\d]+\.*[\d]+) | |
из строки "розничная цена: 154.22 грн" достанет "154.22" | |
или из строки "розничная цена: 15422 грн" достанет "15422" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment