Title: Class &amp; ID
Last modified: October 31, 2017

---

# Class & ID

 *  Resolved [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * (@oanhtran1804)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/class-id/)
 * Hello. I’m searching for all
    class= and ID= Result will given all class=’class-
   name-1′ class=’class-name-2′ …etc to the end of all class have in search option.
   The same with ID
 * What i mean, i want to find all ‘ ‘ string in class and ID. Can your plugin support
   this type of searching?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Marius L. J.](https://wordpress.org/support/users/clorith/)
 * (@clorith)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/class-id/#post-9637324)
 * Hiya,
 * So you are trying to find all instances of `class=''` or `id=''` (with no class
   or id entered) ?
 * If I understand you correctly, you could either search specifically for that,
   with the empty quotes, or if there may or may not be any spaces you could use
   the regex search option, which allows for more complex searches, they do require
   some research if you are unfamiliar with them though, but are very powerful if
   used correctly.
 *  Thread Starter [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * (@oanhtran1804)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/class-id/#post-9638006)
 * Hi, [@clorith](https://wordpress.org/support/users/clorith/). Thank for respond.
 * I want to find all strings inside of class and ID, the fact i dont know what 
   is the name of string at all. What i know they are string inside of ‘ ‘ and started
   with class= and ID =
 * Here is example whole my web only have 2 class and 2 ID as bellow:
    class=’class-
   name1′ class=’class-name2′ ID=’abc’ ID=’edfgh’
 * SO if i search for class=
    Search….result is class-name1 class-name2
 * SO if i search for ID=
    Search….result is abc edfgh
 * I hope your plugin can archive this search, Is it available please?
 *  Plugin Author [Marius L. J.](https://wordpress.org/support/users/clorith/)
 * (@clorith)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/class-id/#post-9675660)
 * Although it is possible, it’s not the purpose of this plugin, and you would have
   a hard time going over the results due to the nature of what you want to achieve.
 * Unfortunately the crafting of search queries is a bit outside the scope of the
   kind of support I can provide, but yes, it is possible to do this with RegEx,
   and would be possible with this plugin.
 *  Thread Starter [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * (@oanhtran1804)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/class-id/#post-9676175)
 * Can you please update this function for this plugin please?
 *  Plugin Author [Marius L. J.](https://wordpress.org/support/users/clorith/)
 * (@clorith)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/class-id/#post-9676672)
 * I’m afraid I won’t be adding a special feature only for this, as it’s not the
   intended purpose of the plugin.
 *  Thread Starter [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * (@oanhtran1804)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/class-id/#post-9676948)
 * Ok thank you for respond.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Class & ID’ is closed to new replies.

 * ![](https://ps.w.org/string-locator/assets/icon-256x256.png?rev=1352230)
 * [String locator](https://wordpress.org/plugins/string-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/string-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/string-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/string-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/string-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/string-locator/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/class-id/#post-9676948)
 * Status: resolved