Please problem is still unsolved, i need complete string of regular expression to use.
Or can someone write REGEX that searches "Phone:" and then shows 14 characters that come after it as result, only thing it has to be one line.
User Profile
Collapse
-
I dont have perl experience, program i use allow writting scripts in perl 5, its just string field where you can enter code you want to use, thats what program documentation saying.
I need someone to edit code i posted in first message (that is actually works) to get not all phone numbers, but only ones with "Phone: " in front of it, can you suggest how this line of code should look like?...Leave a comment:
-
It looks like web page HTML with phone on it saying "Phone: (123) 456-7890" somewhere on the page.Leave a comment:
-
The thing is that i actually use program that supports perl 5 programming language regular expressions, so could you please help me just add to my line of code check for "Phone: " in beginning of number.Leave a comment:
-
It does not work for me, could you show me how full code will look like?Leave a comment:
-
Help writting simple regex
Hi, i trying to write regular expression that looking for phone number in text file, but only does it if there is "Phone: " in front of number on same line.
Expression i created looks like this
How i add "Phone: " check to it?Code:(?:(?:\d{1,3}[-. ]?)?[(]?\d{2,4}(?:[-). ]|[)][ ]))?\d{1,4}[-. ]?\d{4}(?:[-/.* ]\d{1,5})?
No activity results to display
Show More
Leave a comment: