I want to wrap particular lines in a text mass with <b></b>
- First line in the text
- All lines with a previous empty line (eg two newlines before)
I’m using preg_replace with php, but I’m really shitty with regex. Good tutorials are appreciated.
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.
Try
for example, http://www.ideone.com/1pTwD.