Support » Fixing WordPress » Help me with Regular expression

  • I do have a string like this and i dont want [gallery columns="7"] to be included. How can i do that using regular expression.

    [gallery columns="7"]
    For sale house and lot in Cabancalan Mandaue
    lot area 300 sqm
    floor area 220 sqm
    4 bedrooms 4 toilet and bath
    with big lawn and open space
    inside subdivision
    for more info please contact 0932-219-4469
Viewing 1 replies (of 1 total)
  • [gallery columns="7"] [/gallery] is a shortcode. In this case it should returns some css styling (i.e.<div class="column_7">...</div>)
    You need to find the shortcode part in your theme’s function.php file or in something like includes/shortcodes.php for the exact div construction.

Viewing 1 replies (of 1 total)
  • The topic ‘Help me with Regular expression’ is closed to new replies.