Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
eregi_replace
- Page 1
'30% of Activities Performed by Humans Could Be Automated with AI'
Community Center
6 Days Ago
by Johannes C.
**Alexander De Ridder, AI visionary and CTO of SmythOS, discusses the transformative power of specialized AI systems and the future of human-AI collaboration.** ![header-agi-talks-adr.jpg](https://static.daniweb.com/attachments/4/cf1ab716c18354710010dabb4e9e2a9a.jpg) In the newest interview of our AGI Talks series, **Alexander De Ridder** …
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
The advent of large language models (LLM) has replaced complex scripts with natural language for automating various tasks. You can now use LLM to interact with your databases using natural language, which makes life easier for people who do not have sufficient SQL knowledge. In this article, you will learn how to retrieve information from SQL …
Re: ASUS Laptops - my experience
Hardware and Software
3 Weeks Ago
by toneewa
I wouldn't worry about not having any ASUS utilities. You can always download them later, [here](https://www.asus.com/support/download-center/). I consider them all bloatware. Having the partition as an MBR and then installing a Windows image as GPT, is like going to replace your spare tire and finding out it has a different lug nut bolt pattern…
Converting PDF Image to CSV Using Multimodal Google Gemini Pro
Programming
Computer Science
2 Months Ago
by usmanmalik57
In this article, you will learn to use [Google Gemini Pro](https://blog.google/technology/ai/google-gemini-ai/), a state-of-the-art multimodal generative model, to extract information from PDF and convert it to CSV files. You will use a simple text prompt to tell Google Gemini Pro about the information you want to extract. This is a valuable skill …
PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit
Programming
Computer Science
2 Months Ago
by usmanmalik57
In my previous article, I explained [how to convert PDF image to CSV using Multimodal Google Gemini Pro](https://www.daniweb.com/programming/computer-science/tutorials/541365/converting-pdf-image-to-csv-using-multimodal-google-gemini-pro). To do so, I wrote a Python script that passes text command to [Google Gemino Pro](https://blog.google/…
C++ programming error
Programming
2 Months Ago
by sammieb
I am trying to enter a single string in C++ in which I give a URL citation. the entire line is as follows: cout << 'furey, edward "sphere calculator" at https://www.calculatorsoup.com/calculators/geometry-solids/sphere.php from calculatorsoup, https://www.calculatorsoup.com - online calculators' << endl; I am getting the…
Re: Is Coding About Authoring or Achieving a Specification?
Programming
2 Months Ago
by rproffitt
What standards are you asking about? What happens when your standard doesn't fit your use case? (spoiler) ![image_2024-01-27_115711909.png](https://static.daniweb.com/attachments/1/361846dbfc9dcb5adc5f4800c2a3933d.png) https://xkcd.com/927/ As I wrote more and more code I did gravitate toward standards. But with each job, there was yet …
Re: ASUS Laptops - my experience
Hardware and Software
1 Month Ago
by toneewa
Indeed, I recommend to anyone that has USB ports to use the magnetic plugs for mini and micro USB ports. I see you could have the Thunderbolt 4 USB-C, so I'm sure it did cost little more. That would check one of my boxes. 144hz+ would be another. I don't need bloodshot eyes from 60hz. If you are a DIY fixer, you can also [replace the TB4 ports](…
Re: C++ programming error
Programming
2 Months Ago
by rproffitt
You'll want to escape those quote marks and maybe more. Read https://en.cppreference.com/w/cpp/language/escape Example follows: #include <iostream> using namespace std; int main() { cout << "furey, edward \"sphere calculator\" at https://www.calculatorsoup.com/calculators/geometry-solids/…
Re: Postfix authentication problem
Hardware and Software
Linux and Unix
1 Month Ago
by chickenbirds
> I am trying to set-up Postfix on my Ubuntu local web development machine for send-only e-mails using Gmail so I can test e-mails sent by a web app I am developing. Even though this is an old post I wanted to reply as I found it while trying to setup my own postfix mailrelay on my private cloud server with Debian that hosts our small …
Re: replace $v in a string with a random replacement
Programming
Web Development
11 Years Ago
by tpickett
$replace is the array. and it would be structured like this: $replace = array( 'racer', 'race car driver', 'racing', 'race team' );//array to replace $match with $search = "text"; //keyword to match n = "3"; //number of times to replace in artcle $str = '…
Re: replace part of field with FIND IN SET
Programming
Web Development
10 Years Ago
by pritaeas
Replace `replace1` with `table1`, same for 2.
Re: Replace page content jquery - tricky question
Programming
Web Development
11 Years Ago
by JJenZz
Replace your `$('body').ready(` with `$(document).ajaxStop(`
Re: What will replace Facebook as the next social network?
Digital Media
Digital Marketing
13 Years Ago
by allis0njane
Replace Facebook ....... really !! there is no one to replace Facebook...
Re: Confirm Password and Password not equal to username
Programming
Web Development
12 Years Ago
by jstfsklh211
replace [CODE]if(($this->$password !== $this->$confirm_password)) $this->errors[] = 'Passwords Must Match'; if(($this->$username == $this->$password)) $this->errors[] = 'Password Cannot Be Your Username';[/CODE] with [CODE]if(($this->password !== $this->confirm_password)) $this->errors[] = 'Passwords Must Match';…
Re: Filtering Text only using Simple PHP HTML DOM PARSER
Programming
Web Development
11 Years Ago
by pritaeas
Replace what else?
Re: IIS URL decoding
Programming
Web Development
16 Years Ago
by SheSaidImaPregy
replace the querystring yourself if you wish. When the page gets requested, set the current url to a string. Then replace all the "coded" parts with the real parts!
Re: string manipualtion Question
Programming
Software Development
16 Years Ago
by Ancient Dragon
Replace() is the wrong method to use because you can't control what characters that get replaced in what positions. Here is another solution that I tested and works [code] CString m_VideoName = "hello world"; int len = m_VideoName.GetLength(); int i = 0; while( i < len ) { // advance to the first non-space character …
Re: using grep, sed, awk to pull links out of an XML file
Programming
Software Development
15 Years Ago
by ShawnCplus
replace test.html with the name of your file [code=bash] sed -r "s/<Url>([^<]+)<\/Url>/\nURL: \1\n/g" test.html | grep ^URL: | sed -r "s/^URL: //g" [/code] This will give you a newline delimited list of the URLs Also, in the future you can use the following command to clean the XML (requires Tidy) [code=bash] …
Re: Trying to get a while loop while using an input/output file
Programming
Software Development
15 Years Ago
by Lerner
Replace this: inStream >> next; while (!inStream.eof()) //while loop not working with this: while (inStream >> next) //while loop working { and do this: outStream.open(outfileName.c_str(), ios::app); //appends to the end of the file each time only once, before the while loop. And drop the inStream >> next in …
Re: Error Codes:
Hardware and Software
Hardware
14 Years Ago
by caperjack
replace it
Re: linked lists
Programming
Software Development
14 Years Ago
by Ancient Dragon
Replace the list class with std::vector and std::sort
Re: Need Assitance On Php & Mysql test.
Programming
Web Development
13 Years Ago
by Hypalink
Replace your code in the beginning to this; in otherwords don't define - just declare them as variables. It's just simpler i think. [CODE]$dbhost = "your host"; $dbuser = "your username"; $dbpassword = "your password"; $dbdatabase = "your database"; $con = mysql_connect("$dbhost",&…
Re: Compaq laptop not working, over heating?
Hardware and Software
Hardware
13 Years Ago
by dspnhn
replace the fan and use heavier thermal compound
Re: T_constant_encapsed_string
Programming
Web Development
12 Years Ago
by cwarn23
Replace line 117 with the following: [CODE]$sqlstr = "INSERT INTO static_page(judul, isi_berita)VALUES('".$judul."','".$news."')";[/CODE]
Re: Best Practices Regarding Data Types and Values
Programming
Databases
10 Years Ago
by Ancient Dragon
Replace with NULL to indicate it has no value, assuming the field is allowed to have NULL values.
Re: eregi_replace() problem
Programming
Web Development
12 Years Ago
by pritaeas
eregi is not meant to be used anymore, use preg instead. Change: [CODE] $emailCHecker =
eregi_replace
("`", "", $emailCHecker); [/CODE] to: [CODE] $emailCHecker = preg_replace("/`/", "", $emailCHecker); [/CODE]
Re: help in converting a c++ code into c
Programming
Software Development
13 Years Ago
by Ancient Dragon
Replace cout with printf() Replace cin with scanf() Replace ofstream and ifstream with FILE* Replace [icode]fin >> [/icode] with fread() or possibly fgets(), depending on what is being read. Replace [icode]fout << [/icode] with fwrite(), or possibly fprintf(), depending on what is being written.
Re: Regex problem - "\\"
Programming
Software Development
13 Years Ago
by masijade
replace all single slants with double slants before (or while) calling "aregex". [code]str.replace("\\", "\\\\")[/code] note: replace, [i]not[/i] replaceFirst or replaceAll.
Re: Help in vb.net
Programming
Software Development
13 Years Ago
by ShahanDev
Replace your [U]for loop[/U] with this: [CODE] For Each vr_mast In mydata Dim tmp As String = System.Text.RegularExpressions.Regex.Replace(vr_mast.vr_no, "(?i)[a-z]*", "") newac = CDbl(tmp) Next newac = newac + 1 [/CODE] Here, this is a pattern "(?i)[a-z]*" which finds …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC