I want to represent following string using regular expression.
This is the sentence:
pro displ = "monitor" id="1"
I tried this:
pro displ=(("[^"]*")monitor(("[^"]*") id =(("[^"]*")1(("[^"]*")
but it is not working.as i was new to regular expression please help me to solve this issue
You can use this one, and then match the parentheses to change what you want.
Instead this one with the 'sed' utility: