🔧Toolify365

Find and Replace Text (literal या regex, options के साथ)

Text paste करें, find और replace strings set करें, optionally regex / case-insensitive / multi-line enable करें, और instantly modified text plus match count देखें।

Result (0 matches)
 

संबंधित टूल्स

कैसे काम करता है

दो modes — literal और regex

Literal (regex off): find string exactly match होती है। '.' और '*' जैसे special characters खुद ही treated होते हैं। अधिकांश everyday text edits के लिए safe default है।

Regex (regex on): find string को JavaScript regular expression के रूप में interpret किया जाता है। इसे patterns के लिए उपयोग करें — उदाहरण के लिए /\b\w+@\w+\.\w+\b/ emails खोजने के लिए। Multi-line mode के साथ, ^ और $ line breaks पर match करते हैं।

Replace string special syntax

Regex mode में, replace string backreferences support करती है: capture groups के लिए $1, $2 आदि; entire match के लिए $&; literal dollar sign के लिए $$। Example: /(\d{3})-(\d{3})-(\d{4})/ find करें, replace ($1) $2-$3 phone numbers reformat करता है।

Literal mode में, replace string as-is ली जाती है — कोई backreferences, कोई special handling नहीं।

Common uses

Bulk edit: spelling standardize करें, product names update करें, long documents में typos fix करें।

Code refactoring: paste of code में variable rename करें (case-sensitive उपयोग करें)। कई files के real refactoring के लिए, IDE better है।

Data cleanup: CSV में tabs को commas में convert करें, एक delimiter को दूसरे से replace करें, whitespace normalize करें।

Markdown to plain: regex से Markdown syntax strip करें।

अक्सर पूछे जाने वाले प्रश्न

यह regex tester से कैसे different है?

यह replace operation पर focus करता है। Regex tester matches और capture groups inspect करने पर focus करता है।

क्या मैं find/replace में Unicode उपयोग कर सकता हूँ?

हाँ। Find और replace दोनों strings emoji और Devanagari सहित full UTF-8 support करती हैं।

मेरा find/replace काम क्यों नहीं किया?

Most common: case sensitivity। 'Hello' 'hello' match नहीं करेगा जब तक आप case-insensitive toggle न करें। या literal mode में regex characters misunderstood हों।

क्या यह formatting preserve करता है?

Matches को छोड़कर text exactly preserve करता है। Tabs या specific newlines preserved हैं।

क्या मैं replacement undo कर सकता हूँ?

Original input field में है। वहाँ से re-paste करें। हमारे पास built-in undo नहीं है।

मेरा text कितना बड़ा हो सकता है?

Multi-megabyte text काम करता है, हालाँकि huge inputs पर poorly written pattern से regex slow हो सकती है।

Regex सीखने का अच्छा तरीका क्या है?

Literal mode से शुरू करें और जब patterns चाहिए तब regex पर switch करें। 'JavaScript regex cheat sheet' search करें।

क्या data मेरे browser से बाहर जाता है?

नहीं। सभी find/replace locally चलता है।

प्रकटीकरण
  • NordVPN

    Sponsored

    Strict no-logs VPN with 6,400+ servers in 111 countries. Threat Protection blocks ads, trackers, and malware while you work online.

    Get NordVPN
  • Cloudways

    Sponsored

    Managed cloud hosting for WordPress and web apps on DigitalOcean, Vultr, and AWS. Fast setup, no server headaches.

    Try Cloudways
  • Fiverr

    Sponsored

    Hire freelancers for design, writing, dev, and marketing — or sell your own services. Millions of gigs at every budget.

    Browse Fiverr

टिप्पणियाँ और प्रश्न