• Hi there!

    I’d like to correct UPPERCASE to Title Case, but only for single words in table cells.

    Search: <td>(\p{Lu})(\p{Lu}+)<\/td>

    Replace: <td>$1[lower]$2[/lower]</td>

    Sometimes works as expected: ‘S?OWO’ > ‘S?owo’,
    but sometimes (and quite often) it eats the second capturing group that should be converted to lowercase, so leaves ‘S’ only…
    Why?

    My database collation is utf8mb4_unicode_520_ci

    • This topic was modified 7 months, 2 weeks ago by Rafa?.
Viewing 1 replies (of 1 total)
  • Plugin Author John Godley

    (@johnny5)

    The plugin uses PHP regular expressions and behaves exactly as PHP behaves. All I can imagine is that your expression is not matching in the way you want.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.