Need help with a regular expression to replace
"CALLID = DB4EC1F310000134255A83470A7B6A4B ID = DB..."
with
"CALLID = <a>DB4EC1F310000134255A83470A7B6A4B</a> ID = DB..."
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do something like this
and replace with
In Perl
See it here on Regexr
(?<=CALLID = )is a lookbehind assertion, it ensures thatCALLID =is before the pattern you want to replace.(\S+)is matching a series of at least one non whitespace characters and store it in$1, because of the brackets around it.