MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/6dutd/generate_regular_expressions_from_some_example/c03kq2y/?context=3
r/programming • u/san1ty • Mar 29 '08
130 comments sorted by
View all comments
2
I don't get the interface. I have the string '<a href="http://google.com' and I want a regex that captures http://google.com, how do I get it with this app?
2 u/Allectus Mar 29 '08 Copy your string into text box in section 1Press the 'Show Matches' buttonin section 2 click the portion you want to match against--in this case httpurl at the bottom of the box that includes google.comIn section 3 select your programming language of choiceProfit
Copy your string into text box in section 1
Press the 'Show Matches' button
in section 2 click the portion you want to match against--in this case httpurl at the bottom of the box that includes google.com
In section 3 select your programming language of choice
Profit
2
u/Ilici Mar 29 '08
I don't get the interface. I have the string '<a href="http://google.com' and I want a regex that captures http://google.com, how do I get it with this app?