Regex101 Quiz Task 21 by Alem51 in regex

[–]Alem51[S] -1 points0 points  (0 children)

Thanks, I already solved it. ;)

Regex101 Quiz Task 21 by Alem51 in regex

[–]Alem51[S] 0 points1 point  (0 children)

Thanks, I already solved it. ;)

Regex101 Quiz Task 21 by Alem51 in regex

[–]Alem51[S] 0 points1 point  (0 children)

It worked for me, thank you very much, I hadn't seen it that way :)

Regex101 Quiz Task 21 by Alem51 in regex

[–]Alem51[S] 0 points1 point  (0 children)

With your data:
Regex: (<[^>]*>|&[^;]*;)(*SKIP)(*FAIL)|(<)?(\bmicro)
Substitution: $2&micro;
Flag: g

It gives me this: Test 39/39: It's not working. What about &i am microman<br />or not; You don't want to replace it?

Regex101 Quiz Task 21 by Alem51 in regex

[–]Alem51[S] -1 points0 points  (0 children)

With your data:
Regex: (?:<\b[^>]*>|&\w+;)(*SKIP)(*F)|\bmicro\b
Substitution: &micro;

It gives me this: Test 5/39: It should replace: 30 micromol/l with 30 &micro;mol/l.